package models

import (
	"github.com/astaxie/beego/orm"
	"time"
)

type Admin struct {
	Id int
	Username string `orm:"size(50)"`
	Password string `orm:"size(32)"`
	Created_at time.Time `orm:"type(datetime);auto_now_add"`
}

func init()  {
	orm.RegisterModel(new(Admin))
}